package com.drug.wms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.drug.common.annotation.Excel;
import com.drug.common.core.domain.BaseEntity;

/**
 * 单位配置对象 bus_unit_conf
 * 
 * @author ruoyi
 * @date 2021-11-08
 */
public class BusUnitConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 单位编号 */
    @Excel(name = "单位编号")
    private String unitNo;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private String validityCode;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long createUser;

    /** 更新用户ID */
    @Excel(name = "更新用户ID")
    private Long updateUser;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUnitNo(String unitNo) 
    {
        this.unitNo = unitNo;
    }

    public String getUnitNo() 
    {
        return unitNo;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setValidityCode(String validityCode)
    {
        this.validityCode = validityCode;
    }

    public String getValidityCode()
    {
        return validityCode;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("unitNo", getUnitNo())
            .append("unitName", getUnitName())
            .append("remark", getRemark())
            .append("validityCode", getValidityCode())
            .append("deptId", getDeptId())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
